[INFO] fetching crate degiro-tax-report 0.1.0...
[INFO] building degiro-tax-report-0.1.0 against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] extracting crate degiro-tax-report 0.1.0 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate degiro-tax-report 0.1.0 on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate degiro-tax-report 0.1.0
[INFO] finished tweaking crates.io crate degiro-tax-report 0.1.0
[INFO] tweaked toml for crates.io crate degiro-tax-report 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate crates.io crate degiro-tax-report 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6285ae5ef43502e16a292673c17e4ed76abc67a150a0fd16415a647721384405
[INFO] running `Command { std: "docker" "start" "-a" "6285ae5ef43502e16a292673c17e4ed76abc67a150a0fd16415a647721384405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6285ae5ef43502e16a292673c17e4ed76abc67a150a0fd16415a647721384405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6285ae5ef43502e16a292673c17e4ed76abc67a150a0fd16415a647721384405", kill_on_drop: false }`
[INFO] [stdout] 6285ae5ef43502e16a292673c17e4ed76abc67a150a0fd16415a647721384405
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5334dac815b561e1a24d178e11831de16c873fae21183149110c0ff6d300d963
[INFO] running `Command { std: "docker" "start" "-a" "5334dac815b561e1a24d178e11831de16c873fae21183149110c0ff6d300d963", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.134
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.134
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-io v0.3.19
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling decimal v2.1.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling clap_derive v3.0.14
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ord_subset v3.1.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling textwrap v0.14.2
[INFO] [stderr]    Compiling futures-executor v0.3.19
[INFO] [stderr]    Compiling clap v3.0.14
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tokio v1.16.1
[INFO] [stderr]    Compiling rev_lines v0.2.1
[INFO] [stderr]    Compiling futures v0.3.19
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling dateparser v0.1.6
[INFO] [stderr]    Compiling degiro-tax-report v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 49.72s
[INFO] running `Command { std: "docker" "inspect" "5334dac815b561e1a24d178e11831de16c873fae21183149110c0ff6d300d963", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5334dac815b561e1a24d178e11831de16c873fae21183149110c0ff6d300d963", kill_on_drop: false }`
[INFO] [stdout] 5334dac815b561e1a24d178e11831de16c873fae21183149110c0ff6d300d963
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4548171a69a13a0a23a5eb038dfb45b3f653c2f4af7873270f54fcd8e4e0152
[INFO] running `Command { std: "docker" "start" "-a" "f4548171a69a13a0a23a5eb038dfb45b3f653c2f4af7873270f54fcd8e4e0152", kill_on_drop: false }`
[INFO] [stderr]    Compiling degiro-tax-report v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/degiro.rs:14:36
[INFO] [stdout]     |
[INFO] [stdout] 14  |     let tr_stream = CsvStream::new(iter);
[INFO] [stdout]     |                     -------------- ^^^^ expected struct `std::fs::File`, found struct `DeserializeRecordsIter`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::fs::File`
[INFO] [stdout]                found struct `DeserializeRecordsIter<'_, std::fs::File, Transaction, >`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn new(file: File) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<CsvStream, std::io::Error>: futures_core::stream::Stream` is not satisfied
[INFO] [stdout]   --> tests/degiro.rs:16:50
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let portfolio = Portfolio::with_carry_losses(tr_stream, 5);
[INFO] [stdout]    |                     ---------------------------- ^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result<CsvStream, std::io::Error>`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures_core::stream::Stream`:
[INFO] [stdout]              &mut S
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              CsvStream
[INFO] [stdout]              Pin<P>
[INFO] [stdout]              futures_channel::mpsc::Receiver<T>
[INFO] [stdout]              futures_channel::mpsc::UnboundedReceiver<T>
[INFO] [stdout]              futures_util::abortable::Abortable<St>
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `Portfolio::<S>::with_carry_losses`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/portfolio.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl<S: Stream<Item = anyhow::Result<Transaction>>> Portfolio<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio::<S>::with_carry_losses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<CsvStream, std::io::Error>: futures_core::stream::Stream` is not satisfied
[INFO] [stdout]   --> tests/degiro.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let portfolio = Portfolio::with_carry_losses(tr_stream, 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result<CsvStream, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures_core::stream::Stream`:
[INFO] [stdout]              &mut S
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              CsvStream
[INFO] [stdout]              Pin<P>
[INFO] [stdout]              futures_channel::mpsc::Receiver<T>
[INFO] [stdout]              futures_channel::mpsc::UnboundedReceiver<T>
[INFO] [stdout]              futures_util::abortable::Abortable<St>
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `Portfolio`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/portfolio.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Portfolio<S: Stream<Item = anyhow::Result<Transaction>>> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `report` exists for struct `Portfolio<Result<CsvStream, std::io::Error>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/degiro.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let report = portfolio.report(2021).await.unwrap();
[INFO] [stdout]    |                            ^^^^^^ method cannot be called on `Portfolio<Result<CsvStream, std::io::Error>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<Result<CsvStream, std::io::Error> as futures_core::stream::Stream>::Item = Result<Transaction, anyhow::Error>`
[INFO] [stdout]            `Result<CsvStream, std::io::Error>: futures_core::stream::Stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `degiro-tax-report` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f4548171a69a13a0a23a5eb038dfb45b3f653c2f4af7873270f54fcd8e4e0152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4548171a69a13a0a23a5eb038dfb45b3f653c2f4af7873270f54fcd8e4e0152", kill_on_drop: false }`
[INFO] [stdout] f4548171a69a13a0a23a5eb038dfb45b3f653c2f4af7873270f54fcd8e4e0152
